﻿using System;
using MobilePal.State;

namespace MobilePal.Log
{
    public sealed class ActivityLogEntry
    {
        public ActivityLogEntry()
        {
        }

        public ActivityLogEntry(Activity activity)
        {
            Name = activity.Name;
            IsInProgress = activity.IsInProgress;
            LastToggleTime = activity.LastToggleTime;
        }

        public string Name { get; set; }

        public bool IsInProgress { get; set; }

        public DateTime LastToggleTime { get; set; }
    }
}